<?php
$viewdefs ['Accounts'] = 
array (
  'DetailView' => 
  array (
    'templateMeta' => 
    array (
      'form' => 
      array (
        'buttons' => 
        array (
          0 => 'EDIT',
          1 => 'DUPLICATE',
          2 => 'DELETE',
          3 => 'FIND_DUPLICATES',
        ),
      ),
      'maxColumns' => '2',
      'widths' => 
      array (
        0 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
        1 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
      ),
      'includes' => 
      array (
        0 => 
        array (
          'file' => 'modules/Accounts/Account.js',
        ),
      ),
      'useTabs' => false,
      'syncDetailEditViews' => true,
    ),
    'panels' => 
    array (
      'lbl_account_information' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'socif',
            'label' => 'LBL_SOCIF',
          ),
          1 => 
          array (
            'name' => 'code',
            'comment' => 'SIC code of the account',
            'label' => 'LBL_CODE',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'name',
            'comment' => 'Name of the Company',
            'label' => 'LBL_NAME',
            'displayParams' => 
            array (
              'enableConnectors' => true,
              'module' => 'Accounts',
              'connectors' => 
              array (
                0 => 'ext_rest_linkedin',
              ),
            ),
          ),
          1 => 
          array (
            'name' => 'phone_office',
            'comment' => 'The office phone number',
            'label' => 'LBL_PHONE_OFFICE',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'email1',
            'studio' => 'false',
            'label' => 'LBL_EMAIL',
          ),
        ),
        3 => 
        array (
          0 => 
          array (
            'name' => 'website',
            'type' => 'link',
            'label' => 'LBL_WEBSITE',
            'displayParams' => 
            array (
              'link_target' => '_blank',
            ),
          ),
          1 => 
          array (
            'name' => 'phone_fax',
            'comment' => 'The fax phone number of this company',
            'label' => 'LBL_FAX',
          ),
        ),
        4 => 
        array (
          0 => 
          array (
            'name' => 'industry',
            'comment' => 'The company belongs in this industry',
            'label' => 'LBL_INDUSTRY',
          ),
          1 => 
          array (
            'name' => 'loaikhachhang',
            'label' => 'LBL_ACCOUNT_TYPE',
          ),
        ),
        5 => 
        array (
          0 => 
          array (
            'name' => 'ngaymotaikhoan',
            'label' => 'LBL_NGAYMOTAIKHOAN',
          ),
          1 => 
          array (
            'name' => 'vondieule',
            'label' => 'LBL_VONDIEULE',
          ),
        ),
        6 => 
        array (
          0 => '',
          1 => 
          array (
            'name' => 'doanhso',
            'label' => 'LBL_DOANHSO',
          ),
        ),
        7 => 
        array (
          0 => 
          array (
            'name' => 'sophongban',
            'label' => 'LBL_SOPHONGBAN',
          ),
          1 => 
          array (
            'name' => 'doe_day',
            'label' => 'LBL_DOE_DAY',
            'customCode' => '{$fields.doe_day.options[$fields.doe_day.value]} {if $fields.doe_day.value neq ""} / {/if} {$fields.doe_month.options[$fields.doe_month.value]}{if $fields.doe_month.value neq ""} / {/if}{$fields.doe_year.value} (dd/mm/yyyy)',
          ),
        ),
        8 => 
        array (
          0 => 
          array (
            'name' => 'diemtichluy',
            'label' => 'LBL_DIEMTICHLUY',
          ),
          1 => 
          array (
            'name' => 'hinhthucgiaodich',
            'label' => 'LBL_HINHTHUCGIAODICH',
          ),
        ),
        9 => 
        array (
          0 => 
          array (
            'name' => 'cus_state',
            'label' => 'LBL_CUS_STATE',
          ),
          1 => 
          array (
            'name' => 'cus_city',
            'label' => 'LBL_CUS_CITY',
          ),
        ),
        10 => 
        array (
          0 => 
          array (
            'name' => 'acc_address',
            'label' => 'LBL_ACCOUNT_ADDRESS',
          ),
          1 => 
          array (
            'name' => 'address2',
            'label' => 'LBL_ADDRESS_2',
          ),
        ),
        11 => 
        array (
          0 => 
          array (
            'name' => 'description',
            'comment' => 'Full text of the note',
            'label' => 'LBL_DESCRIPTION',
          ),
        ),
      ),
      'LBL_PANEL_ADVANCED' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'uudaithanhtoannoidia',
            'label' => 'LBL_UUDAITHANHTOANNOIDIA',
            'customCode' => '<input type="checkbox" name="uudaithanhtoannoidia" disabled="disabled" id="uudaithanhtoannoidia" {$uudaithanhtoannoidia}/> {$fields.chedouudainoidia.options[$fields.chedouudainoidia.value]} ',
          ),
          1 => 
          array (
            'name' => 'uudaithanhtoanquocte',
            'label' => 'LBL_UUDAITHANHTOANQUOCTE',
            'customCode' => '<input type="checkbox" name="uudaithanhtoanquocte" id="uudaithanhtoanquocte" {$uudaithanhtoanquocte} disabled="disabled"/> {$fields.chedouudaiquocte.options[$fields.chedouudaiquocte.value]}',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'uudaichuyentien',
            'label' => 'LBL_UUDAICHUYENTIEN',
            'customCode' => '<input type="checkbox" name="uudaichuyentien" id="uudaichuyentien" {$uudaichuyentien} disabled="disabled"/> {$fields.chedouudaichuyentien.options[$fields.chedouudaichuyentien.value]} ',
          ),
          1 => 
          array (
            'name' => 'uudaivaytien',
            'label' => 'LBL_UUDAIVAYIEN',
            'customCode' => '<input type="checkbox" name="uudaivaytien" id="uudaivaytien" {$uudaivaytien} disabled="disabled" /> {$fields.chedouudaivaytien.options[$fields.chedouudaivaytien.value]} ',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'care_solution_des',
            'label' => 'LBL_CARE_SOLUTION_DES',
          ),
          1 => '',
        ),
      ),
      'lbl_editview_panel1' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'qualitative_info',
            'label' => 'LBL_QUALITATIVE_INFO',
          ),
        ),
      ),
      'LBL_PANEL_ASSIGNMENT' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'assigned_user_name',
            'label' => 'LBL_ASSIGNED_TO',
          ),
        ),
      ),
    ),
  ),
);
?>
